public class Test {
    public static void main(String[] args) {
        char[][] board = new char[][] {{'a', 'b', 'c', 'e'}, {'s', 'f', 'c', 's'}};
        Solution solution = new Solution();
        solution.exist(board, "abcb");
    }
}
